home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / default / rsync < prev    next >
Encoding:
Text File  |  2010-02-17  |  1.7 KB  |  42 lines

  1. # defaults file for rsync daemon mode
  2.  
  3. # start rsync in daemon mode from init.d script?
  4. #  only allowed values are "true", "false", and "inetd"
  5. #  Use "inetd" if you want to start the rsyncd from inetd,
  6. #  all this does is prevent the init.d script from printing a message
  7. #  about not starting rsyncd (you still need to modify inetd's config yourself).
  8. RSYNC_ENABLE=false
  9.  
  10. # which file should be used as the configuration file for rsync.
  11. # This file is used instead of the default /etc/rsyncd.conf
  12. # Warning: This option has no effect if the daemon is accessed
  13. #          using a remote shell. When using a different file for
  14. #          rsync you might want to symlink /etc/rsyncd.conf to
  15. #          that file.
  16. # RSYNC_CONFIG_FILE=
  17.  
  18. # what extra options to give rsync --daemon?
  19. #  that excludes the --daemon; that's always done in the init.d script
  20. #  Possibilities are:
  21. #   --address=123.45.67.89        (bind to a specific IP address)
  22. #   --port=8730                (bind to specified port; default 873)
  23. RSYNC_OPTS=''
  24.  
  25. # run rsyncd at a nice level?
  26. #  the rsync daemon can impact performance due to much I/O and CPU usage,
  27. #  so you may want to run it at a nicer priority than the default priority.
  28. #  Allowed values are 0 - 19 inclusive; 10 is a reasonable value.
  29. RSYNC_NICE=''
  30.  
  31. # run rsyncd with ionice?
  32. #  "ionice" does for IO load what "nice" does for CPU load.
  33. #  As rsync is often used for backups which aren't all that time-critical,
  34. #  reducing the rsync IO priority will benefit the rest of the system.
  35. #  See the manpage for ionice for allowed options.
  36. #  -c3 is recommended, this will run rsync IO at "idle" priority. Uncomment
  37. #  the next line to activate this.
  38. # RSYNC_IONICE='-c3'
  39.  
  40. # Don't forget to create an appropriate config file,
  41. # else the daemon will not start.
  42.